// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
#pragma once
#using <Microsoft.VisualBasic.dll>
using namespace System;
using namespace System::IO;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
using namespace std;
using namespace Microsoft::VisualBasic;

ref class Account;
ref class Bars;
ref class Trigger;
ref class Account;
ref class Limit;
ref class GlobalVars;

// TODO: reference additional headers your program requires here
ref class GlobalTime
{
public:
	static String^ GetTime();
};

#include <iostream>
#include "clsTWS.h"
#include "clsBars.h"
#include "clsTrigger.h"
#include "clsAccount.h"
#include "clsLimit.h"
#include "frmOptions.h"
#include "frmStrategy1.h"
#include "frmTrader.h"

ref class GlobalVars
{
public:
	static DABG::frmTrader ^frmP;
	static const int MAX_BARS = 5000;
	static const int MAX_SYMBOLS = 20;
	
	static String^ ConvertServerToTime(double srvTime);
	static String^ ConvertServerToDate(double srvTime);
	static String^ ConvertHistoryToTime(String^ strTime);
	static String^ ConvertHistoryToDate(String^ strDate);
};
